package com.learn.sb.sblearnshardingjdbc.pojo;

import lombok.Data;

/**
 * 单库不分表，只存在 zxq数据库中的t_role表中
 */
@Data
public class Role {
	private Integer id;
	private Integer roleId;
	private String roleName;
}

/**
 CREATE TABLE `t_role` (
 `id`  int NOT NULL AUTO_INCREMENT ,
 `role_id`  int NOT NULL COMMENT '角色ID' ,
 `role_name`  varchar(64) NOT NULL ,
 PRIMARY KEY (`id`)
 )
 ;
 */
